package com.atguigu.structure.decorator;

public class CoffeeBar {
    public static void main(String[] args) {
        Drink drink = new LongBlack();

        drink=new Chocolate(drink);
        drink=new Chocolate(drink);
        drink=new Milk(drink);

        String description = drink.getDescription();
        System.out.println(description);
        System.out.println(drink.getCost());

    }
}
